package jy.hibernate.beans;

import java.util.Set;

/**
 * product_information entity
 * @author tingzi
 *
 */
public class Product_information implements java.io.Serializable{

	private static final long serialVersionUID = 3565554268481161355L;
	/** full constructor */
	public Product_information(String pro_name,String pro_model, Float price, Float weight,
			Float temperature,Float humidity){
		this.pro_name=pro_name;
		this.pro_model=pro_model;
		this.price=price;
		this.weight=weight;
		this.temperature=temperature;
		this.humidity=humidity;
	}
	//Fields 
	private Integer pro_id;//����id
	private String pro_name;//��Ʒ����
	private String pro_model;//��Ʒ����
	private Float price;//��Ʒ�۸�
	private Float weight=0.0f;//��Ʒ��
	private Float temperature=0.0f;//�洢����Ʒ���¶�
	private Float humidity=0.0f;//
    private Set<Store_product> store_products;
    private Set<Predict_value> predict_values;
    private Set<Input_detail> input_details;
    private Set<Output_detail> output_details;
    private Set<Order_form_detail> order_form_details;
    private Set<Porter_workload> porter_workloads;
	public Set<Output_detail> getOutput_details() {
		return output_details;
	}
	public void setOutput_details(Set<Output_detail> output_details) {
		this.output_details = output_details;
	}
	public Set<Input_detail> getInput_details() {
		return input_details;
	}
	public void setInput_details(Set<Input_detail> input_details) {
		this.input_details = input_details;
	}
	public Set<Predict_value> getPredict_values() {
		return predict_values;
	}
	public void setPredict_values(Set<Predict_value> predict_values) {
		this.predict_values = predict_values;
	}
	public Set<Store_product> getStore_products() {
		return store_products;
	}
	public void setStore_products(Set<Store_product> store_products) {
		this.store_products = store_products;
	}
	public Integer getPro_id() {
		return pro_id;
	}
	public void setPro_id(Integer pro_id) {
		this.pro_id = pro_id;
	}
	public String getPro_name() {
		return pro_name;
	}
	public void setPro_name(String pro_name) {
		this.pro_name = pro_name;
	}
	public String getPro_model() {
		return pro_model;
	}
	public void setPro_model(String pro_model) {
		this.pro_model = pro_model;
	}
	public Float getPrice() {
		return price;
	}
	public void setPrice(Float price) {
		this.price = price;
	}
	public Float getWeight() {
		return weight;
	}
	public void setWeight(Float weight) {
		this.weight = weight;
	}
	public Float getTemperature() {
		return temperature;
	}
	public void setTemperature(Float temperature) {
		this.temperature = temperature;
	}
	public Float getHumidity() {
		return humidity;
	}
	public void setHumidity(Float humidity) {
		this.humidity = humidity;
	}
	public String toString(){
		return "pro_name:"+pro_name+"/tpro_model:"+pro_model+"/tprice:"+price+"/tweight:"+weight
		       +"/ttemperature:"+temperature+"/thumidity:"+humidity;
	}
	public Set<Order_form_detail> getOrder_form_details() {
		return order_form_details;
	}
	public void setOrder_form_details(Set<Order_form_detail> order_form_details) {
		this.order_form_details = order_form_details;
	}
	public Set<Porter_workload> getPorter_workloads() {
		return porter_workloads;
	}
	public void setPorter_workloads(Set<Porter_workload> porter_workloads) {
		this.porter_workloads = porter_workloads;
	}

}
